
module.exports = {
    transpileDependencies: ['uview-ui'],
    devServer: {
        proxy: {
          '/work': {
                target: 'http://www.fast.com',
                // 如果接口跨域，需要进行这个参数配置
                changeOrigin: true,
                pathRewrite: {
                '^work': ''
                }
            }
        },
    }
}